pkgname=simd-stress
pkgver=1.0
pkgrel=0
pkgdesc="A benchmark to test SIMD."
arch=('i386' 'x86_64')
license=('GPL')
source=("https://github.com/yu-chen-aero/simd-stress.git")
md5sums=('SKIP')

build()
{
	cd "$srcdir/$pkgname"
	gcc -O3 -Wall -W -static -march=skylake-avx512 simd-stress.c -o simd-stress -lpthread
}

package()
{
	mkdir -p "$pkgdir/lkp/benchmarks/simd-stress"
	cp -r "$srcdir/$pkgname/"* "$pkgdir/lkp/benchmarks/simd-stress"
}
